Script: --on windowEvent wdID,wdName,objNo,objName,objValue┬┬if objValue="Open" then ┬ ┬else if objValue="Close" then ┬ ┬else if objValue="Suspend" then ┬ ┬else if objValue="Resume" then ┬ ┬else if objValue="CloseBox" then ┬ ┬else if objValue="ZoomBox" then ┬ ┬else if objValue="GrowBox" then ┬ ┬else if objValue="TitleBar" then ┬ ┬end if┬┬--end windowEvent
Script: --on mouseUp wdID,wdName,objNo,objName,objValue┬get wsGet(wdID,"FontH","value")┬send ("setStyle textfont,header,""e&it"e) to this cd┬--end mouseUp
ItemType: POP
Rect: 195,34,249,51
TextFont: Geneva
TextSize: 10
AutoSize: FALSE
Name: sizeH
Text: 9┬10┬12┬14┬18┬20┬24
Script: get wsGet(wdID,"SizeH","Value")┬send "setStyle textsize,header,"&it to this cd
ItemType: POP
Rect: 257,34,348,51
TextFont: Geneva
TextSize: 10
AutoSize: FALSE
Name: styleH
Text: plain┬bold┬italic┬bold,italic
Script: get wsGet(wdID,"styleH","Value")┬send "setStyle textstyle,header,"&it to this cd┬
ItemType: LINE
Rect: 356,0,359,105
PenSize: 3,1
ItemType: POP
Rect: 56,79,187,96
TextFont: Geneva
TextSize: 10
AutoSize: FALSE
Name: FontB
Script: get wsGet(wdID,"FontB","selectionText")┬put it into ff┬send ("setStyle textfont,body,""e&ff"e) to this cd┬send ("setStyle textfont,selectedPrint,""e&ff"e) to this cd┬send ("setStyle textfont,defPick1Print,""e&ff"e) to this cd┬send ("setStyle textfont,defPick2Print,""e&ff"e) to this cd
ItemType: POP
Rect: 195,79,249,96
TextFont: Geneva
TextSize: 10
AutoSize: FALSE
Name: sizeB
Text: 9┬10┬12┬14┬18
Script: get wsGet(wdID,"sizeB","Value")┬send "setStyle textsize,body,"&it to this cd
ItemType: POP
Rect: 258,79,349,96
TextFont: Geneva
TextSize: 10
AutoSize: FALSE
Name: styleB
Text: plain┬bold┬italic┬bold,italic
Script: get wsGet(wdID,"styleB","Value")┬send "setStyle textstyle,body,"&it to this cd
ItemType: TEXT
Rect: 10,109,436,152
TextFont: Geneva
TextSize: 9
AutoSize: FALSE
Name: Instructions
Text: Choose the font, size and style for the header and body sections of the report from the above pop-up menus (initially, the previous settings are shown.) Click ╥OK╙ to retain those changes or ╥cancel╙ to revert to the previous settings.